#ifndef _RG_EVENTS_H_
#define _RG_EVENTS_H_

#include <main.h>
#include <extra/rgView.h>
#include <extra/rgRender.h>
#include "SDL.h"

namespace rg
{

	class events
	{
	public:
		events(view* pView, camera* cam, render* render);
		~events(void);

		void run();
		void getInput();

	private:
		void updateEvents();
	private:
		view* m_pView;
		camera* m_pCamera;
		render* m_pRender;
		rgBool m_quit;

		rgBool m_up;
		rgBool m_down;
		rgBool m_left;
		rgBool m_right;

		rgBool m_turn;
		
		rgInt m_velocity;
		rgInt m_strafe;

	};
} // namespace rg

#endif // _RG_EVENTS_H_